import { createApp } from 'vue';
import App from './App.vue';
import router from './router';  // 引入路由配置
import ElementPlus from 'element-plus';
import  'element-plus/dist/index.css' 
//axios 
import axios from 'axios'
//echarts
import ECharts from 'vue-echarts'
import "echarts"


const app = createApp(App)
app.use(router).component('e-charts',ECharts).use(ElementPlus).mount('#app')
axios.defaults.baseURL="http://localhost:8080"
app.config.globalProperties.$http= axios